﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

using Castle.ActiveRecord;
using Castle.ActiveRecord.Queries;
using NHibernate.Criterion;
using System.Collections;

/// <summary>
/// Summary description for Tour
/// </summary>
namespace LIB
{
    [ActiveRecord("chung_cu_dang_xay_dung")]
    public class chung_cu_dang_xay_dung_Info : ActiveRecordBase<chung_cu_dang_xay_dung_Info>
    {
        private int _id;
        private double _gia;
        private int _loai_bat_dong_san;
        private int _du_an_khu_do_thi;
        private string _so_nha;
        private string _hem;
        private string _ngach;
        private string _ngo;
        private int _duong;
        private int _phuong;
        private int _quan_huyen;
        private string _phap_ly;
        private string _ten_chu_hop_dong;
        private int _huong;
        private double _dien_tich;
        private string _phong;
        private int _tang;
        private int _so_phong;
        private string _gia_hop_dong_m2;
        private string _gia_ban_m2;
        private string _so_tien_da_nop_tren_hop_dong;
        private string _hien_trang_du_an;
        private string _thoi_gian_ban_giao_nha_theo_hop_dong;
        private string _phap_ly_sang_ten_hop_dong;
        private string _phi_sang_ten_hop_dong;
        private string _ben_chiu_phi_sang_ten;
        private string _mo_ta;
        private string _demo_video;
        private string _demo_ban_do;
        private int _lien_he;
        private DateTime _create_date;
        private bool _is_show_private;
        private bool _is_luu_tru;
        private string _note;

          [PrimaryKey(PrimaryKeyType.Native)]
        public int id
        {
            get { return _id; }
            set { _id = value; }
        }

      [Property]
        public double gia
        {
            get { return _gia; }
            set { _gia = value; }
        }

       [Property]
        public int loai_bat_dong_san
        {
            get { return _loai_bat_dong_san; }
            set { _loai_bat_dong_san = value; }
        }

       [Property]
        public int du_an_khu_do_thi
        {
            get { return _du_an_khu_do_thi; }
            set { _du_an_khu_do_thi = value; }
        }

      [Property]
        public string so_nha
        {
            get { return _so_nha; }
            set { _so_nha = value; }
        }

        [Property]
        public string hem
        {
            get { return _hem; }
            set { _hem = value; }
        }
       [Property]
        public string ngach
        {
            get { return _ngach; }
            set { _ngach = value; }
        }
       [Property]
        public string ngo
        {
            get { return _ngo; }
            set { _ngo = value; }
        }
        [Property]
        public int duong
        {
            get { return _duong; }
            set { _duong = value; }
        }
       [Property]
        public int phuong
        {
            get { return _phuong; }
            set { _phuong = value; }
        }
      [Property]
        public int quan_huyen
        {
            get { return _quan_huyen; }
            set { _quan_huyen = value; }
        }
      [Property]
        public string phap_ly
        {
            get { return _phap_ly; }
            set { _phap_ly = value; }
        }
       [Property]
        public string ten_chu_hop_dong
        {
            get { return _ten_chu_hop_dong; }
            set { _ten_chu_hop_dong = value; }
        }
       [Property]
        public int huong
        {
            get { return _huong; }
            set { _huong = value; }
        }
       [Property]
        public double dien_tich
        {
            get { return _dien_tich; }
            set { _dien_tich = value; }
        }
      [Property]
        public string phong
        {
            get { return _phong; }
            set { _phong = value; }
        }
        [Property]
        public int tang
        {
            get { return _tang; }
            set { _tang = value; }
        }
        [Property]
        public int so_phong
        {
            get { return _so_phong; }
            set { _so_phong = value; }
        }
       [Property]
        public string gia_hop_dong_m2
        {
            get { return _gia_hop_dong_m2; }
            set { _gia_hop_dong_m2 = value; }
        }
       [Property]
        public string gia_ban_m2
        {
            get { return _gia_ban_m2; }
            set { _gia_ban_m2 = value; }
        }
        [Property]
        public string so_tien_da_nop_tren_hop_dong
        {
            get { return _so_tien_da_nop_tren_hop_dong; }
            set { _so_tien_da_nop_tren_hop_dong = value; }
        }
       [Property]
        public string hien_trang_du_an
        {
            get { return _hien_trang_du_an; }
            set { _hien_trang_du_an = value; }
        }
       [Property]
        public string thoi_gian_ban_giao_nha_theo_hop_dong
        {
            get { return _thoi_gian_ban_giao_nha_theo_hop_dong; }
            set { _thoi_gian_ban_giao_nha_theo_hop_dong = value; }
        }
       [Property]
        public string phap_ly_sang_ten_hop_dong
        {
            get { return _phap_ly_sang_ten_hop_dong; }
            set { _phap_ly_sang_ten_hop_dong = value; }
        }
       [Property]
        public string phi_sang_ten_hop_dong
        {
            get { return _phi_sang_ten_hop_dong; }
            set { _phi_sang_ten_hop_dong = value; }
        }
        [Property]
        public string ben_chiu_phi_sang_ten
        {
            get { return _ben_chiu_phi_sang_ten; }
            set { _ben_chiu_phi_sang_ten = value; }
        }
       [Property]
        public string mo_ta
        {
            get { return _mo_ta; }
            set { _mo_ta = value; }
        }

       [Property]
       public string demo_video
       {
           get { return _demo_video; }
           set { _demo_video = value; }
       }
       [Property]
       public string demo_ban_do
       {
           get { return _demo_ban_do; }
           set { _demo_ban_do = value; }
       }
       [Property]
       public int lien_he
       {
           get { return _lien_he; }
           set { _lien_he = value; }
       }
       [Property]
       public DateTime create_date
       {
           get { return _create_date; }
           set { _create_date = value; }
       }
       [Property]
       public bool is_show_private
       {
           get { return _is_show_private; }
           set { _is_show_private = value; }
       }
       [Property]
       public bool is_luu_tru
       {
           get { return _is_luu_tru; }
           set { _is_luu_tru = value; }
       }
       [Property]
       public string note
       {
           get { return _note; }
           set { _note = value; }
       }
    }

     
}
